<script setup lang="ts" >
import {ref} from 'vue'
import { useRouter} from 'vue-router';
const url = ref(window.location.href)
const router =useRouter()
if(['https://www.intelliagile.com','https://www.intelliagile.com/home'].includes(url.value)||url.value.startsWith('https://www.intelliagile.com')){
  router.push('/')
  document.title="intelliagile"
}else if(['https://www.uswifitech.com','https://www.uswifitech.com/uswifi'].includes(url.value)||url.value.startsWith('https://www.uswifitech.com') ){
  router.push('/uswifi')
  document.title="USWIFI"
}else {
  router.push('/')
  document.title="intelliagile"
}
</script>

<template>
  <div id="app_box">
    <router-view />
  </div>
</template>

<style scoped>
@import url('@/assets/font/font.css');
#app_box {
  font-family: Source_Han_Sans_SC_Normal_Normal;
}
</style>
